import Vue from 'vue'
import { createPinia, PiniaVuePlugin } from 'pinia'

import App from './App.vue'
import router from './router'

import './assets/main.css'
import './axios/index.js'

import MessageBox from '@/components/MessageBox/index.js'
Vue.use(MessageBox)

import MyElDialog from '@/components/MyElDialog/index.js'
Vue.use(MyElDialog)

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI);
Vue.use(PiniaVuePlugin)

new Vue({
  router,
  pinia: createPinia(),
  render: (h) => h(App)
}).$mount('#app')
